package com.framework.modules.base.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.mapper.EntityWrapper;
import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.framework.common.utils.PageUtils;
import com.framework.common.utils.Query;

import com.framework.modules.base.dao.UserActionLogsDao;
import com.framework.modules.base.entity.UserActionLogsEntity;
import com.framework.modules.base.service.UserActionLogsService;


@Service("userActionLogsService")
public class UserActionLogsServiceImpl extends ServiceImpl<UserActionLogsDao, UserActionLogsEntity> implements UserActionLogsService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        Page<UserActionLogsEntity> page = this.selectPage(
                new Query<UserActionLogsEntity>(params).getPage(),
                new EntityWrapper<UserActionLogsEntity>()
        );

        return new PageUtils(page);
    }

}
